
<h1>XML Subfield-Finder</h1>
<br>

<%= form_tag :action =>  "showsubfield" do %>

<p>
<%= label :subfield, "Subfield" %>
<%= text_field_tag :subfield, @subfield%>
<%= submit_tag "search" %>
<% end %>
</p>


<%= @tag%>$<%= @code%> has <%= @countno %> entries. 
<br>
<br>
Content: <br>

<% if @nodes %>
<% @nodes.to_a.each do |node| %>
<%= node.content %><br>
<% end %>
<% end %>
